Total Complexity | 56 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 446 |
Lines of code | 220 |
Logical lines of code | 123 |
Comment lines | 123 |
Methods | 12 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_capture_button() | 43 | 16 | 45 | |
process_capture_charge_bulk_order_action() | 49 | 9 | 31 | |
ajax_process_capture() | 44 | 8 | 44 | |
maybe_add_capture_charge_bulk_order_action() | 51 | 7 | 28 | |
enqueue_scripts() | 60 | 5 | 14 | |
get_order_gateway() | 63 | 3 | 11 | |
enqueue_edit_order_assets() | 56 | 1 | 17 | |
__construct() | 63 | 2 | 10 | |
is_order_ready_for_capture() | 67 | 2 | 8 | |
output_partial_capture_html() | 69 | 1 | 6 | |
get_plugin() | 82 | 1 | 3 | |
maybe_capture_paid_order() | 80 | 1 | 3 |